# __author__ = "James Zhang"
# !/usr/bin/python
# -*- coding: utf-8 -*-
from email.utils import formatdate


def cookie_date(epoch_seconds=None):
    rfcdate = formatdate(epoch_seconds)
    return "%s-%s-%s GMT" % (rfcdate[:7], rfcdate[8:11], rfcdate[12:25])
